package com.ma.auth.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ma.model.system.SysUser;
import com.ma.vo.system.SysUserQueryVo;

import java.util.Map;


public interface SysUserService extends IService<SysUser> {
    Page<SysUser> limit(Long page, Long limit, SysUserQueryVo sysUserQueryVo);
    //更改用户状态
    Boolean updateStatus(Long id, Integer status);

    //根据用户名称获取用户信息
    SysUser getByUsername(String username);

    //获取当前用户信息
    Map<String, Object> getCurrentUser();
}
